﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="footer.ascx.cs" Inherits="uc_footer" %>
<%@ Import Namespace="System.Data" %>
<div id="copybg">
    <div id="copyright">
        <span class="mr8">Copyright &copy; 2013 浙江日发控股集团有限公司 All Rights Reserved</span><span
            class="ml16"><a href="http://rifa.com.cn/" class="bai" target="_blank">企业邮箱</a><span class="mlr14">|</span><a href="#"
                class="bai">法律声明</a><span class="mlr14">|</span><a href="/contact.html" class="bai">联系我们</a></span><span
                    class="ml44">备案序号：浙ICP备09068857号</span><span class="ml16">
                        <select id="linkurl" name="xz" class="select01" onchange="golink();">
                            <option value="">友情链接</option>
                            <% 
                                if (ds != null && ds.Tables.Count > 0)
                                {
                                    foreach (DataRow dr in ds.Tables[0].Rows)
                                    { 
                            %>
                            <option value='<%=dr["LinkUrl"]%>'><%=dr["Title"]%></option>
                            <%
                                }
                    } 
                            %>
                        </select>
                        <script type="text/javascript">
                            function golink() {
                                var url = document.getElementById("linkurl").value;
                                if (url != undefined && url != "") {
                                    window.open(url);
                                }
                            }
                        </script>
                    </span>
    </div>
</div>
